home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / rcs56.zoo / rcs / man / rcsmerge.txt < prev    next >
Encoding:
Text File  |  1992-01-26  |  3.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. RCSMERGE(1)        Printed December 19, 1991          RCSMERGE(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      rcsmerge -    merge RCS revisions
  10.  
  11. SYNOPSIS
  12.      rcsmerge [options]    file
  13.  
  14. DESCRIPTION
  15.      rcsmerge incorporates the changes between two revisions of
  16.      an    RCS file into the corresponding    working    file.
  17.  
  18.      Pathnames matching    an RCS suffix denote RCS files;    all
  19.      others denote working files.  Names are paired as explained
  20.      in    ci(1).
  21.  
  22.      At    least one revision must    be specified with one of the
  23.      options described below, usually -r.  At most two revisions
  24.      may be specified.    If only    one revision is    specified, the
  25.      latest revision on    the default branch (normally the highest
  26.      branch on the trunk) is assumed for the second revision.
  27.      Revisions may be specified    numerically or symbolically.
  28.  
  29.      rcsmerge prints a warning if there    are overlaps, and
  30.      delimits the overlapping regions as explained in merge(1).
  31.      The command is useful for incorporating changes into a
  32.      checked-out revision.
  33.  
  34. OPTIONS
  35.      -ksubst
  36.       Use subst style keyword substitution.     See co(1) for
  37.       details.  For    example, -kk -r1.1 -r1.2 ignores
  38.       differences in keyword values    when merging the changes
  39.       from 1.1 to 1.2.
  40.  
  41.      -p[rev]
  42.       Send the result to standard output instead of
  43.       overwriting the working file.
  44.  
  45.      -q[rev]
  46.       Run quietly; do not print diagnostics.
  47.  
  48.      -r[rev]
  49.       Merge    with respect to    revision rev.  Here an empty rev
  50.       stands for the latest    revision on the    default    branch,
  51.       normally the head.
  52.  
  53.      -Vn  Emulate RCS version n.  See co(1) for    details.
  54.  
  55.      -xsuffixes
  56.       Use suffixes to characterize RCS files.  See ci(1) for
  57.       details.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1                     TARGON /35     Operating System
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RCSMERGE(1)        Printed December 19, 1991          RCSMERGE(1)
  71.  
  72.  
  73.  
  74. EXAMPLES
  75.      Suppose you have released revision    2.8 of f.c.  Assume
  76.      furthermore that after you    complete an unreleased revision
  77.      3.4, you receive updates to release 2.8 from someone else.
  78.      To    combine    the updates to 2.8 and your changes between 2.8
  79.      and 3.4, put the updates to 2.8 into file f.c and execute
  80.  
  81.      rcsmerge  -p  -r2.8  -r3.4  f.c  >f.merged.c
  82.  
  83.      Then examine f.merged.c.  Alternatively, if you want to save
  84.      the updates to 2.8    in the RCS file, check them in as
  85.      revision 2.8.1.1 and execute co -j:
  86.  
  87.      ci  -r2.8.1.1    f.c
  88.      co  -r3.4  -j2.8:2.8.1.1  f.c
  89.  
  90.      As    another    example, the following command undoes the changes
  91.      between revision 2.4 and 2.8 in your currently checked out
  92.      revision in f.c.
  93.  
  94.      rcsmerge  -r2.8  -r2.4     f.c
  95.  
  96.      Note the order of the arguments, and that f.c will    be
  97.      overwritten.
  98.  
  99. ENVIRONMENT
  100.      RCSINIT
  101.       options prepended to the argument list, separated by
  102.       spaces.  See ci(1) for details.
  103.  
  104. DIAGNOSTICS
  105.      Exit status is 0 for no overlaps, 1 for some overlaps, 2 for
  106.      trouble.
  107.  
  108. IDENTIFICATION
  109.      Author: Walter F. Tichy.
  110.      Revision Number: 5.3; Release Date: 1991/08/19.
  111.      Copyright O 1982, 1988, 1989 by Walter F. Tichy.
  112.      Copyright O 1990, 1991 by Paul Eggert.
  113.  
  114. SEE ALSO
  115.      ci(1), co(1), ident(1), merge(1), rcs(1), rcsdiff(1),
  116.      rcsintro(1), rlog(1), rcsfile(5)
  117.      Walter F. Tichy, RCS--A System for    Version    Control,
  118.      Software--Practice    & Experience 15, 7 (July 1985),    637-654.
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Page 2                     TARGON /35     Operating System
  130.  
  131.  
  132.  
  133. ə